<?php
class DigestPasswordBehavior extends CBehavior{
	public function digest($password, $salt=''){
		return md5($salt.$password);
	}
}